package top.yxf.spring.beans.factory.support;

import top.yxf.spring.BeansException;
import top.yxf.spring.beans.factory.config.BeanDefinition;

/**
 * @author xs.wu
 */
public interface BeanDefinitionRegistry {

    /**
     * 向注册表中注册 BeanDefinition
     * @param beanName
     * @param beanDefinition
     * @throws BeansException
     */
    void registryBeanDefinition(String beanName, BeanDefinition beanDefinition) throws BeansException;
}
